﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Leo.Blog.Controllers
{
    public class ErrorController : Controller
    {
        // GET: Error
        /// <summary>
        /// 没有权限访问这个页面
        /// </summary>
        /// <returns></returns>
        public ActionResult NoAccess()
        {
            return View();
        }
        /// <summary>
        /// 错误异常跳转页面
        /// </summary>
        /// <returns></returns>
        public ActionResult Error() {
            return View();
        }

    }
}
